package sf.database.mapper.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 标注接口是DaoMapper,动态生成sql语句.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface OrmMapper {
    /**
     * mapper名称
     * @return
     */
    String name() default "";

    String value() default "";
}
